﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace eVoting
{
    public partial class Confirm : System.Web.UI.Page
    {
        DBManager db;

        protected void Page_Load(object sender, EventArgs e)
        {
            string id = Request.QueryString["id"];

            db = new DBManager();

            db.confirmUser(Int32.Parse(id));

            Response.Redirect("~/Account/Login.aspx");

        }
    }
}